/*#include "SBackground.h"
#include "Define.h"
#include "Convert.h"

SBackground::SBackground(std::shared_ptr<ContentManager> contentManager, const std::string& id, const float scrollSpeed) : Background(contentManager, id)
{
	FilePath filePath;
	filePath.setFilepath(contentManager->getFilepath(id) + ".txt");
	filePath.parse();
	_scrollSpeed = scrollSpeed;
	_sSprite.setTexture(*contentManager->loadTexture(id));
	_sSprite.setScale(SCALEF, SCALEF);
	_sSprite.setOrigin(Convert<sf::Vector2f>::stringToSfVec2f(filePath.getFilepath("origin")));
	_sSprite.setTextureRect(Convert<sf::IntRect>::stringToSfIntRect(filePath.getFilepath("size")));
}

SBackground::~SBackground(void){}

void SBackground::update(const GameTime& gameTime)
{
	_position.x += _scrollSpeed * gameTime.deltaTime();
	if (_position.x > VSW_SCALEF)
	{
		_position.x = 0.0f;
	}
	_sSprite.setPosition(_position.x - VSW_SCALEF, 0.0f);
	Background::update(gameTime);
}

void SBackground::draw(const std::shared_ptr<sf::RenderWindow> window)
{
	Background::draw(window);
	window->draw(_sSprite);
}

void SBackground::initialize()
{

}*/